package cn.cj.erp.common.enums;

import com.fasterxml.jackson.annotation.JsonValue;

/**
 * 菜单类型
 *
 * @author chenjian
 */
public enum CaptchaTypeEnum implements BaseEnum {
    /**
     * 数组计算
     */
    MATH("math", "数组计算"),
    /**
     * 字符验证
     */
    CHAR("char", "字符验证"),
    ;

    @JsonValue
    private final String value;
    private final String label;

    CaptchaTypeEnum(String value, String info) {
        this.value = value;
        this.label = info;
    }

    @Override
    public String getValue() {
        return value;
    }

    @Override
    public String getLabel() {
        return label;
    }
}
